/* 基于动态CSS变量的风格模板 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    background-color: #f9fafb;
    color: #333;
    line-height: 1.6;
}

/* 头部导航 */
.header {
    background-color: var(--primary);
    padding: 12px var(--layout-padding);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

/* 主内容区 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px var(--layout-padding);
}

.page-title {
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* 版本记录区域 */
.version-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.version-list {
    list-style: none;
}

.version-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.version-item:last-child {
    border-bottom: none;
}

.version-code {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.version-date {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.version-details {
    margin-left: 20px;
}

.version-details h4 {
    color: #333;
    margin: 10px 0 5px;
}

.version-details ul {
    list-style: disc;
    margin-left: 20px;
    color: #666;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1d4ed8;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    .nav-link {
        margin: 0 8px;
    }
}